﻿using DtoFw.Enum;
using SqlSugar;
using System;
using System.Text.Json.Serialization;

namespace Domain.Base
{
    public class BaseOperateObject
    {
        /// <summary>
        /// 渠道
        /// </summary>
        [JsonIgnore]
        [SugarColumn(IsIgnore = true)]
        public EnumChannel OperateChannel { get; set; } = EnumChannel.None;
        [JsonIgnore]
        [SugarColumn(ColumnName = "ModifyerId")]
        public long? ModifyerId { get; set; }
        [JsonIgnore]
        [SugarColumn(ColumnName = "Modifyer")]
        public string Modifyer { get; set; }
        [JsonIgnore]
        [SugarColumn(ColumnName = "ModifyerTime")]
        public DateTime ModifyerTime { get; set; } = DateTime.Now;
    }
}
